<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      .block1{
        border:1px solid #ccc;
        height: 400px;
        width: 300px;
        /* background-color: rgb(255,0,0,1); */
        /* 
        1. 关键字 red
        2. rgb(红， 绿，蓝) 
        3. 16进制 #00ff00
        透明度0 - 1
         rgb(红， 绿，蓝，透明度)

        */
        background-image: url(./imgs/baidu.png);
        background-repeat: no-repeat;
        background-position: -66px -24px;
      }
      
    </style>
</head>
<body>
    <div class="block1">
      
    </div>
</body>
</html>